package com.tiny_wind.tiny_wind_diary.dao;

import com.tiny_wind.tiny_wind_diary.entity.KnowledgeCategoryEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KnowledgeCategoryDao {

	KnowledgeCategoryEntity[] search(KnowledgeCategoryEntity filter);
	
	Integer insert(KnowledgeCategoryEntity entity);
	
	int getTotalCount(KnowledgeCategoryEntity filter);

	
	void update(KnowledgeCategoryEntity entity);

	//删除指定idtodo.
	void delete(KnowledgeCategoryEntity entity);
	
}
